/**
 * <p>Title: Clent.java>
 * <p>Description: 设计模式-建造者模式：客户端
 * <p>Company: YSS
 * @author yangsongsong
 * @date 2019年1月10日
 */
package com.yss.builder;

public class Clent {
	public static void main(String[] args) {
		Builder builder = new ConcreteBuilder();
		Director director = new Director(builder);

		// 执行建造
		director.construct();
		Product product = builder.resultProduct();

		System.out.println(product.toString());
	}
}
